using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft.Net.Protocols
{
    using System.IO;
    using System.Net.Sockets;

    public class NetMessage
    {
        public Encoding Encoding { get; set; } = new UTF8Encoding(false);
        public object Head { get; set; }

        public Stream Body { get; set; }

        public T GetHeadValue<T>(string key)
        {
            var head = (System.Text.Json.JsonElement)Head;
            throw new NotImplementedException();
        }

        internal string GetHeadValueString(string key)
        {
            throw new NotImplementedException();
        }
    }

}
